package cn.kin.pojo;

import java.util.Date;
//请假申请
public class LeaveApply {
    private Integer id;//请假编号

/*    private Integer childID;

    private Integer staffID;*/
    
    private Child child;//幼儿对象

    private Staff staff;//员工对象

    private String title;//标题

    private String describe;//描述

    private Date applyDate;//申请日期

    private Date createDate;//创建时间

    /*  private Integer state;*/
    private DataDictionary state;//请假申请状态对象

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    
//    public Integer getChildID() {
//        return childID;
//    }
//
//    public void setChildID(Integer childID) {
//        this.childID = childID;
//    }
//
//    public Integer getStaffID() {
//        return staffID;
//    }
//
//    public void setStaffID(Integer staffID) {
//        this.staffID = staffID;
//    }

    public Child getChild() {
		return child;
	}

	public void setChild(Child child) {
		this.child = child;
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public DataDictionary getState() {
		return state;
	}

	public void setState(DataDictionary state) {
		this.state = state;
	}

	public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe == null ? null : describe.trim();
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

   /* public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }*/
}